<template>
	<view class="search_hotkey">
		<navigator :url="'../search/q?k='+key" v-for="(key,index) in item.data">{{key}}</navigator>
	</view>
</template>

<script>
	export default {
		name:"search-hotkey",
		props:{
			item:{
				type:Object,
				default(){
					return {}
				}
			}
		},
		data() {
			return {
			};
		},
		onLoad() {
			
		},
		methods:{
		}
	}
</script>

<style lang="less">
.search_hotkey{
	display: flex;
	navigator{
		float:left;
		margin:5rpx 10rpx;
		&:first-child{
			margin-left:0;
		}
		&:last-child{
			margin-right:0;
		}
	}
}
</style>
